package com.zhhs.jzcd.account.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhhs.framework.aspectj.lang.annotation.Excel;
import com.zhhs.framework.web.domain.BaseEntity;

/**
 * 企业账户流水对象 base_journal_account
 *
 * @author ruoyi
 * @date 2023-08-04
 */
public class BaseJournalAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 企业id */
    @Excel(name = "企业id")
    private Long companyId;

    /** 企业类型1支出2充值 */
    @Excel(name = "企业类型1支出2充值")
    private String type;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private String transactionAmount;

    /** 剩余金额 */
    @Excel(name = "剩余金额")
    private String resultAmount;

    /** 营销id */
    @Excel(name = "营销id")
    private Long marketingId;

    /** 支出原因 */
    @Excel(name = "支出原因")
    private String expenditureReason;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setTransactionAmount(String transactionAmount)
    {
        this.transactionAmount = transactionAmount;
    }

    public String getTransactionAmount()
    {
        return transactionAmount;
    }
    public void setResultAmount(String resultAmount)
    {
        this.resultAmount = resultAmount;
    }

    public String getResultAmount()
    {
        return resultAmount;
    }
    public void setMarketingId(Long marketingId)
    {
        this.marketingId = marketingId;
    }

    public Long getMarketingId()
    {
        return marketingId;
    }

    public String getExpenditureReason() {
        return expenditureReason;
    }

    public void setExpenditureReason(String expenditureReason) {
        this.expenditureReason = expenditureReason;
    }

    @Override
    public String toString() {
        return "BaseJournalAccount{" +
                "id=" + id +
                ", companyId=" + companyId +
                ", type='" + type + '\'' +
                ", transactionAmount='" + transactionAmount + '\'' +
                ", resultAmount='" + resultAmount + '\'' +
                ", marketingId=" + marketingId +
                ", expenditureReason='" + expenditureReason + '\'' +
                '}';
    }
}
